package com.gitee.kenewstar.migration.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.kenewstar.migration.constants.Const;
import lombok.Data;
import org.apache.ibatis.type.JdbcType;

/**
 * @author kenewstar
 */
@Data
@TableName(value = "qrtz_job_details", schema = Const.HZERO_SCHEDULER)
public class JobDetails {

    @TableField("SCHED_NAME")
    private String schedulerName;
    @TableField("JOB_NAME")
    private String jobId;
    @TableField("JOB_GROUP")
    private String tenantId;
    @TableField("DESCRIPTION")
    private String description;
    @TableField("JOB_CLASS_NAME")
    private String jobClassName;

    @TableField("IS_DURABLE")
    private String durable;
    @TableField("IS_NONCONCURRENT")
    private String nonConcurrent;
    @TableField("IS_UPDATE_DATA")
    private String updateData;
    @TableField("REQUESTS_RECOVERY")
    private String requestsRecovery;
    @TableField(value = "JOB_DATA", jdbcType = JdbcType.BLOB)
    private Byte[] jobData;

}
